home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / (A)TB / (A)TBP.ADF / MEM-Handler / Mem.doc < prev    next >
Text File  |  1991-06-20  |  2KB  |  71 lines

  1.  
  2. ##    ##  ########  ##    ##            ######     ######     #####  
  3. ###  ###  ########  ###  ###            #######   ########   ####### 
  4. ########  ##        ########            ##    ##  ##    ##  ##       
  5. ## ## ##  ######    ## ## ##            ##    ##  ##    ##  ##       
  6. ##    ##  ##        ##    ##            ##    ##  ##    ##  ##       
  7. ##    ##  ##        ##    ##            ##    ##  ##    ##  ##       
  8. ##    ##  ########  ##    ##   ##       #######   ########   ####### 
  9. ##    ##  ########  ##    ##   ##       ######     ######     #####  
  10.  
  11.  
  12. Mem-Handler is a handler that allows any area of system memory to be
  13. accessed like a file. As an added bonus MEM: will act like NULL: if
  14. no address/length is specified. All writes automatically succeed.
  15.  
  16. Mem-Handler is Copyright 1990,1991 by Michael Mounier.
  17.  Non-commercial distribution is allowed.
  18.  
  19. Version 1.2 implements some more packet types that seem to be
  20. required for correct operation under that latest version AmigaDOS 2.0
  21. (37.74).
  22.  
  23. To install Mem-Handler
  24. ----------------------
  25.  
  26. 1) Place the following entry in your MountList:
  27.  
  28. /* MEM:addr/len allows system memory as a file */
  29. MEM:    Handler = L:Mem-Handler
  30.         Stacksize = 2000
  31.         Priority = 5
  32.         Globvec = -1
  33. #
  34.  
  35. 2) Copy Mem-Handler to L:
  36.  
  37. 3) Mount MEM:
  38.  
  39.  
  40. To access MEM: 
  41. --------------
  42.  
  43. Use MEM:address/length wherever you would use a filename. Address and
  44. length are in HEX.
  45.  
  46.  
  47. Examples/Uses
  48. -------------
  49.  
  50. To look at ROM try:
  51.  
  52. > Type MEM:FC0000/40000 opt h
  53.  
  54. You could use MEM: in conjuction with an editor (such as CED) and
  55. AREXX to allow you to compile (or do some other processing) straight
  56. from ram.
  57.  
  58. You can use MEM: like NIL: or NULL:  for example:
  59.  
  60. > Copy #? to MEM: all
  61.  
  62. Caveats
  63. -------
  64.  
  65. You CAN crash your machine with MEM: by reading an area of memory
  66. that contains write only registers.
  67.  
  68. Avoid the following address ranges:
  69. A00000-BFFFFF
  70. D80000-EFFFFF
  71.